log/slog.handleState.buf (field)
49 uses
log/slog (current package)
handler.go#L248: pos := state.buf.Len()
handler.go#L251: state.buf.SetLen(pos)
handler.go#L274: state.buf.WriteByte('{')
handler.go#L318: state.buf.WriteByte('\n')
handler.go#L322: _, err := h.w.Write(*state.buf)
handler.go#L329: s.buf.WriteString(s.sep)
handler.go#L330: s.buf.Write(pfa)
handler.go#L346: pos := s.buf.Len()
handler.go#L357: s.buf.SetLen(pos)
handler.go#L364: s.buf.WriteByte('}')
handler.go#L367: s.buf.WriteByte('}')
handler.go#L384: buf *buffer.Buffer
handler.go#L399: buf: buf,
handler.go#L413: s.buf.Free()
handler.go#L436: s.buf.WriteByte('{')
handler.go#L451: s.buf.WriteByte('}')
handler.go#L513: pos := s.buf.Len()
handler.go#L519: s.buf.SetLen(pos)
handler.go#L538: s.buf.WriteString(s.sep)
handler.go#L545: s.buf.WriteByte(':')
handler.go#L547: s.buf.WriteByte('=')
handler.go#L554: buf := *s.buf
handler.go#L567: *s.buf = buf
handler.go#L572: s.buf.WriteByte('"')
handler.go#L573: *s.buf = appendEscapedJSONString(*s.buf, str)
handler.go#L574: s.buf.WriteByte('"')
handler.go#L578: *s.buf = strconv.AppendQuote(*s.buf, str)
handler.go#L580: s.buf.WriteString(str)
handler.go#L618: *s.buf = appendRFC3339Millis(*s.buf, t)
json_handler.go#L99: s.buf.WriteByte('"')
json_handler.go#L100: *s.buf = t.AppendFormat(*s.buf, time.RFC3339Nano)
json_handler.go#L101: s.buf.WriteByte('"')
json_handler.go#L109: *s.buf = strconv.AppendInt(*s.buf, v.Int64(), 10)
json_handler.go#L111: *s.buf = strconv.AppendUint(*s.buf, v.Uint64(), 10)
json_handler.go#L116: if err := appendJSONMarshal(s.buf, v.Float64()); err != nil {
json_handler.go#L120: *s.buf = strconv.AppendBool(*s.buf, v.Bool())
json_handler.go#L123: *s.buf = strconv.AppendInt(*s.buf, int64(v.Duration()), 10)
json_handler.go#L132: return appendJSONMarshal(s.buf, a)
text_handler.go#L114: s.buf.WriteString(strconv.Quote(string(bs)))
text_handler.go#L119: *s.buf = v.append(*s.buf)